package zone.haiwen.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zone.haiwen.demo.domain.entity.vo.Myuser;

import java.util.List;

/**
 * Description: 服务类接口
 * @author zhangHaiWen
 * @data 2021/7/7 19:52
 * @return
 **/
public interface IMyuserService extends IService<Myuser> {
	public Myuser getUserByName(String name);
	public List<Myuser> getUserByAge(int age);
	public void insertUser(Long id, String name, Integer age, String email);
	public void updateUser(Long id, String name, Integer age, String email);
	public void deleteUserById(Long id);
	public Myuser queryUserIf(Long id, String name);
	public List<Myuser> queryUserChoose(String name, Integer age);
	public List<Myuser> queryUserWhere(String name, Integer age);
	public List<Myuser> queryUserForeach(List<Long> list);
}
